/*
*
* FILENAME:		gen_fm.c/gen_fm.h 
* CREATED AT:		2012/May/5
* DECRITION:		generate function and marco, which will be used in other source files
* 
* MODULE:		linead list
* PLATFORM:		ubuntu-12.04/gcc-4.6.3
* AUTHOR:		incarnation-lee
* 
* ----------------------REVISION HISTROY------------------------
* No.	Date	Revised by	Function	Descrition
* 1	12/5/7	incar-lee	NA		created
* 2	12/5/30	incar-lee	gmalloc		remove the unnecessary return value
*
*/

/* Standard C */
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <errno.h>

/* linux related */
#include <unistd.h>
#include <fcntl.h>
#include <sys/types.h>

/* user defined */
#include "externals.h"
#include "gen_fm.h"
#include "udgtd.h"

void gmalloc(void** pointer,size_t len)
{
	*pointer = malloc(len);
}

